<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
use App\Model\AdminLogsModel;
use App\Model\AdminRolesModel;
use App\Model\AdminRoleUserModel;

//实名认证审核表
class AsdModel extends Model
{
	//定义一个表名
	protected $table = 'csd';
	//定义主键
	protected $primaryKey = 'id';
	protected $guarded = [];

	static function do_add($type,$phone,$qrcode = ''){
		AsdModel::create([
			'type' => $type,
			'phone' => $phone,
			'qrcode' => $qrcode,
		]);
	}

}